package main

import (
	"github.com/gin-gonic/gin"
	"go_payment/bootstrap"
	"go_payment/handle"
	"go_payment/router"
)

func init() {
	bootstrap.Bootstrap()
}

func main() {
	run()
	r := gin.Default()
	r = router.Router(r)
	r.Run(":9501")
}

func run() {
	go handle.DoOrder()
}
